package com.workcell.workdata.xthings.entity.mqtt;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.workcell.workdata.xthings.constant.ExtOutputAttributes;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author zhangguangrui
 * @create 2023-05-18 16:06
 */
@TableName(value = "t_level_gauge_data")
@Data
@Accessors(chain = true)
public class LevelGaugeData implements Serializable {

    /**
     * 主键
     */
    private String id;

    /**
     * 主设备编码
     */
    private String masterDeviceNo;

    /**
     * 从设备编码
     */
    private String slaveDeviceNo;

    /**
     * 厂商编码
     */
    private String manufacturerCode;

    /**
     * 机器码
     */
    private String addressId;

    /**
     * 液面高度
     */
	@ExtOutputAttributes(key = "液面高度")
    private String liquidLevel;

    /**
     * 液体体积
     */
	@ExtOutputAttributes(key = "液体体积")
    private String liquidVolume;

	/**
	 * 液位上限
	 */
	@ExtOutputAttributes(key = "液位上限")
	private String upperLimit;

	/**
	 * 液位下限
	 */
	@ExtOutputAttributes(key = "液位下限")
	private String lowerLimit;

    /**
     * 数据入库时间
     */
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;



}
